package org.ucas.faker.web.entity;

import javax.persistence.*;
import javax.validation.constraints.NotNull;

@Table(name = "user_sptree")
@Entity
public class UserSpTree extends IdEntity {
  @Column(name = "user_id", nullable = false)
  private Long userId;

  @Column(name = "name", nullable = true)
  private String name;

public Long getUserId() {
	return userId;
}

public void setUserId(Long userId) {
	this.userId = userId;
}

public String getName() {
	return name;
}

public void setName(String name) {
	this.name = name;
}

}
